{% load i18n %}
<ul class="{% if not comments %}no-{% endif %}comments-recent">
  {% for comment in comments %}
  <li>
    {% with entry=comment.content_object %}
    {{ comment.name }} {% trans "in" %}
    <a href="{{ entry.get_absolute_url }}#comment-{{ comment.pk }}-by-{{ comment.user_name|slugify }}"
       title="{% blocktrans with object=entry.title %}Comment on {{ object }}{% endblocktrans %}">
      {{ entry.title }}
    </a>
    {% endwith %}
  </li>
  {% empty %}
  <li>
    {% trans "No comments yet." %}
  </li>
  {% endfor %}
</ul>
